package com.mf.service;

import java.util.List;

import com.mf.entity.GoodsMold;
import org.springframework.data.domain.Sort;


public interface GoodsMoldService {

    /**
     * 根据条件分页查询商品类型信息
     *
     * @param goodsMold
     * @param page
     * @param pageSize
     * @param direction
     * @param properties
     * @return
     */
    public List<GoodsMold> list(GoodsMold goodsMold, Integer page, Integer pageSize, Sort.Direction direction, String... properties);


    public Long getCount(GoodsMold goodsMold);

    public void save(GoodsMold goodsMold);

    public void delete(Integer id);

    public List<GoodsMold> all();

}
